using System;
using System.Collections.Generic;
using System.Text;
using Com.queryzer2.Domain;
using Com.queryzer2.Domain.Entities;
using Com.queryzer2.Dao.Interface;
using Com.queryzer2.Services.Base;
using Com.queryzer2.Services;

namespace Com.queryzer2.Services.Impl
{
    public class ServizioServices : BaseClassic, IServizioServices
    {
        #region IUtenteService Members

        public Dictionary<decimal, ServizioEntity> getListaUtenti()
        {
            return base.DbProvider.DaoImpl.ServizioDao.GetAll();
        }

        public ServizioEntity getExistingPratica(string cFileName, string Cod_Prat_Utente, string Piva_Distributore)
        {
          return   base.DbProvider.DaoImpl.ServizioDao.getExistingPratica(cFileName, Cod_Prat_Utente, Piva_Distributore);
        }


        public ServizioEntity getByPOD(string cFileName, string cPod)
        {
          return   base.DbProvider.DaoImpl.ServizioDao.findByPOD(cFileName,cPod);
        }

        public ServizioEntity getDataByDISP_POD(string cFileName, string cPod, string cDisp)
        {
            return base.DbProvider.DaoImpl.ServizioDao.findBygetDataByDISP_POD(cFileName, cPod,cDisp);
        }

        public ServizioEntity insert(ServizioEntity e)
        {
            return null;
        }

        public ServizioEntity update(ServizioEntity e)
        {
            return null;
        }

        public void deleteUtente(decimal e)
        {
            base.DbProvider.DaoImpl.UtenteDao.Delete(e);
        }

        #endregion
    }
}
